package cn.org.haitang.domain;

/**
 * haitang-edu-platform
 * Description: created at: 25/11/2017
 * 用户领域对象
 *
 * @author lucas <link>mailto:lucas.shao@foxmail.com</link>
 */
public class User {

	private String id;
	private String username;
	private String password;
	private String showName;
	private byte sex;
	private Long createTime;
	private byte state;

	public static final byte SEX_MALE = 0x0;
	public static final byte SEX_FEMALE = 0x1;

	public static final byte STATE_INIT = 0x0;
	public static final byte STATE_ACTIVE = 0X1;
	public static final byte STATE_BANNED = 0x2;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getShowName() {
		return showName;
	}

	public void setShowName(String showName) {
		this.showName = showName;
	}

	public byte getSex() {
		return sex;
	}

	public void setSex(byte sex) {
		this.sex = sex;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public byte getState() {
		return state;
	}

	public void setState(byte state) {
		this.state = state;
	}
}
